home *** CD-ROM | disk | FTP | other *** search
- on getTrack whichTrack
- theTrack = [:]
- addProp(theTrack, #road, [])
- addProp(theTrack, #objects, [])
- if whichTrack = 0 then
- add(theTrack.road, [#type: #Straight, #num: 5, #height: 0])
- add(theTrack.road, [#type: #left, #num: 22, #height: 0, #Degree: 4])
- add(theTrack.road, [#type: #Straight, #num: 2, #height: 0])
- add(theTrack.road, [#type: #left, #num: 23, #height: -0, #Degree: 4])
- add(theTrack.road, [#type: #Straight, #num: 10, #height: 0])
- add(theTrack.road, [#type: #left, #num: 23, #height: 0, #Degree: 4])
- add(theTrack.road, [#type: #Straight, #num: 2, #height: 0])
- add(theTrack.road, [#type: #left, #num: 22, #height: 0, #Degree: 4])
- add(theTrack.road, [#type: #Straight, #num: 4, #height: 0])
- add(theTrack.road, [#type: #Connect, #num: 1, #height: 0])
- else
- if whichTrack = 2 then
- add(theTrack.road, [#type: #Straight, #num: 3, #height: 0])
- add(theTrack.road, [#type: #Straight, #num: 2, #height: 60])
- add(theTrack.road, [#type: #left, #num: 45, #height: 0.90000000000000002, #Degree: 8])
- add(theTrack.road, [#type: #Straight, #num: 8, #height: 0])
- add(theTrack.road, [#type: #right, #num: 12, #height: 0, #Degree: 5])
- add(theTrack.road, [#type: #Straight, #num: 4, #height: 0])
- add(theTrack.road, [#type: #right, #num: 60, #height: 0, #Degree: 3.79999999999999982])
- add(theTrack.road, [#type: #Straight, #num: 6, #height: 0])
- add(theTrack.road, [#type: #Straight, #num: 3, #height: -50])
- add(theTrack.road, [#type: #left, #num: 10, #height: 0, #Degree: 5])
- add(theTrack.road, [#type: #Straight, #num: 1, #height: 0])
- add(theTrack.road, [#type: #Straight, #num: 2, #height: 18])
- add(theTrack.road, [#type: #Straight, #num: 6, #height: 0])
- add(theTrack.road, [#type: #left, #num: 10, #height: 0, #Degree: 5])
- add(theTrack.road, [#type: #Straight, #num: 6, #height: 0])
- add(theTrack.road, [#type: #left, #num: 18, #height: 0, #Degree: 7])
- add(theTrack.road, [#type: #Straight, #num: 9, #height: -1])
- add(theTrack.road, [#type: #left, #num: 11, #height: -5, #Degree: 5.63640000000000008])
- add(theTrack.road, [#type: #Connect, #num: 1, #height: 0])
- theTrack.objects[1] = #start
- theTrack.objects[5] = #Billboard
- theTrack.objects[22] = #Billboard
- theTrack.objects[31] = #Billboard
- theTrack.objects[45] = #Billboard
- theTrack.objects[60] = #Billboard
- theTrack.objects[73] = #Billboard
- theTrack.objects[86] = #Billboard
- theTrack.objects[99] = #Billboard
- theTrack.objects[110] = #Billboard
- theTrack.objects[123] = #Billboard
- theTrack.objects[145] = #Billboard
- theTrack.objects[160] = #Billboard
- theTrack.objects[174] = #Billboard
- theTrack.objects[186] = #Billboard
- theTrack.objects[198] = #Billboard
- theTrack.objects[209] = #Billboard
- theTrack.objects[54] = #Powerup
- theTrack.objects[95] = #Powerup
- theTrack.objects[155] = #Powerup
- theTrack.objects[201] = #Powerup
- theTrack.objects[7] = #Building
- theTrack.objects[19] = #Building
- theTrack.objects[30] = #Building
- theTrack.objects[48] = #Building
- theTrack.objects[61] = #Building
- theTrack.objects[74] = #Building
- theTrack.objects[89] = #Building
- theTrack.objects[102] = #Building
- theTrack.objects[115] = #Building
- theTrack.objects[147] = #Building
- theTrack.objects[161] = #Building
- theTrack.objects[172] = #Building
- theTrack.objects[185] = #Building
- theTrack.objects[199] = #Building
- theTrack.objects[213] = #Building
- else
- if whichTrack = 1 then
- add(theTrack.road, [#type: #Straight, #num: 2, #height: 0])
- add(theTrack.road, [#type: #right, #num: 3, #height: 20, #Degree: 4])
- add(theTrack.road, [#type: #right, #num: 4, #height: 30, #Degree: 5])
- add(theTrack.road, [#type: #right, #num: 5, #height: 0, #Degree: 6])
- add(theTrack.road, [#type: #Straight, #num: 8, #height: -15])
- add(theTrack.road, [#type: #right, #num: 30, #height: -8, #Degree: 6])
- add(theTrack.road, [#type: #Straight, #num: 3, #height: 0])
- add(theTrack.road, [#type: #left, #num: 20, #height: 39, #Degree: 3])
- add(theTrack.road, [#type: #left, #num: 10, #height: 0, #Degree: 4])
- add(theTrack.road, [#type: #left, #num: 20, #height: -20, #Degree: 3])
- add(theTrack.road, [#type: #right, #num: 30, #height: -10, #Degree: 6])
- add(theTrack.road, [#type: #right, #num: 20, #height: 3, #Degree: 1])
- add(theTrack.road, [#type: #Straight, #num: 5, #height: 6])
- add(theTrack.road, [#type: #right, #num: 20, #height: 3, #Degree: 4])
- add(theTrack.road, [#type: #Straight, #num: 5, #height: 0])
- add(theTrack.road, [#type: #right, #num: 5, #height: -15, #Degree: 3])
- add(theTrack.road, [#type: #Straight, #num: 4, #height: 10])
- add(theTrack.road, [#type: #left, #num: 5, #height: 0, #Degree: 3])
- add(theTrack.road, [#type: #Straight, #num: 2, #height: 10])
- add(theTrack.road, [#type: #Connect, #num: 1, #height: 0])
- theTrack.objects[1] = #start
- theTrack.objects[5] = #Billboard
- theTrack.objects[22] = #Billboard
- theTrack.objects[31] = #Billboard
- theTrack.objects[45] = #Billboard
- theTrack.objects[60] = #Billboard
- theTrack.objects[73] = #Billboard
- theTrack.objects[86] = #Billboard
- theTrack.objects[99] = #Billboard
- theTrack.objects[110] = #Billboard
- theTrack.objects[123] = #Billboard
- theTrack.objects[145] = #Billboard
- theTrack.objects[160] = #Billboard
- theTrack.objects[174] = #Billboard
- theTrack.objects[186] = #Billboard
- theTrack.objects[198] = #Billboard
- theTrack.objects[54] = #Powerup
- theTrack.objects[112] = #Powerup
- theTrack.objects[165] = #Powerup
- theTrack.objects[7] = #Building
- theTrack.objects[19] = #Building
- theTrack.objects[30] = #Building
- theTrack.objects[48] = #Building
- theTrack.objects[61] = #Building
- theTrack.objects[74] = #Building
- theTrack.objects[89] = #Building
- theTrack.objects[102] = #Building
- theTrack.objects[115] = #Building
- theTrack.objects[147] = #Building
- theTrack.objects[161] = #Building
- theTrack.objects[172] = #Building
- theTrack.objects[185] = #Building
- theTrack.objects[199] = #Building
- else
- if whichTrack = 3 then
- add(theTrack.road, [#type: #Straight, #num: 5, #height: 0])
- add(theTrack.road, [#type: #right, #num: 15, #height: 15, #Degree: 8])
- add(theTrack.road, [#type: #Straight, #num: 2, #height: 0])
- add(theTrack.road, [#type: #left, #num: 5, #height: -3, #Degree: 6])
- add(theTrack.road, [#type: #right, #num: 5, #height: -8, #Degree: 6])
- add(theTrack.road, [#type: #left, #num: 5, #height: -5, #Degree: 6])
- add(theTrack.road, [#type: #right, #num: 12, #height: 0, #Degree: 8])
- add(theTrack.road, [#type: #Straight, #num: 3, #height: 20])
- add(theTrack.road, [#type: #right, #num: 13, #height: 10, #Degree: 9])
- add(theTrack.road, [#type: #Straight, #num: 5, #height: -8])
- add(theTrack.road, [#type: #left, #num: 13, #height: -6, #Degree: 9])
- add(theTrack.road, [#type: #Straight, #num: 6, #height: 0])
- add(theTrack.road, [#type: #left, #num: 30, #height: 1.39999999999999991, #Degree: 9])
- add(theTrack.road, [#type: #Straight, #num: 3, #height: 0])
- add(theTrack.road, [#type: #left, #num: 30, #height: -15, #Degree: 6])
- add(theTrack.road, [#type: #Straight, #num: 9, #height: 10])
- add(theTrack.road, [#type: #right, #num: 15, #height: 0, #Degree: 6])
- add(theTrack.road, [#type: #Straight, #num: 2, #height: 0])
- add(theTrack.road, [#type: #right, #num: 7, #height: 20, #Degree: 6])
- add(theTrack.road, [#type: #Straight, #num: 2, #height: 15])
- add(theTrack.road, [#type: #right, #num: 15, #height: -5, #Degree: 6])
- add(theTrack.road, [#type: #Straight, #num: 2, #height: 0])
- add(theTrack.road, [#type: #left, #num: 15, #height: -8, #Degree: 6])
- add(theTrack.road, [#type: #Straight, #num: 5, #height: 0])
- add(theTrack.road, [#type: #right, #num: 16, #height: -4, #Degree: 9])
- add(theTrack.road, [#type: #Straight, #num: 5, #height: 0])
- add(theTrack.road, [#type: #right, #num: 7, #height: 8, #Degree: 4])
- add(theTrack.road, [#type: #Straight, #num: 13, #height: 13.5])
- add(theTrack.road, [#type: #left, #num: 7, #height: 15, #Degree: 6.5])
- add(theTrack.road, [#type: #Straight, #num: 4, #height: -25])
- add(theTrack.road, [#type: #Connect, #num: 1, #height: 0])
- theTrack.objects[1] = #start
- theTrack.objects[5] = #Billboard
- theTrack.objects[22] = #Billboard
- theTrack.objects[31] = #Billboard
- theTrack.objects[45] = #Billboard
- theTrack.objects[60] = #Billboard
- theTrack.objects[73] = #Billboard
- theTrack.objects[86] = #Billboard
- theTrack.objects[99] = #Billboard
- theTrack.objects[110] = #Billboard
- theTrack.objects[123] = #Billboard
- theTrack.objects[145] = #Billboard
- theTrack.objects[160] = #Billboard
- theTrack.objects[174] = #Billboard
- theTrack.objects[186] = #Billboard
- theTrack.objects[198] = #Billboard
- theTrack.objects[209] = #Billboard
- theTrack.objects[221] = #Billboard
- theTrack.objects[246] = #Billboard
- theTrack.objects[261] = #Billboard
- theTrack.objects[61] = #Powerup
- theTrack.objects[128] = #Powerup
- theTrack.objects[184] = #Powerup
- theTrack.objects[249] = #Powerup
- theTrack.objects[7] = #Building
- theTrack.objects[19] = #Building
- theTrack.objects[30] = #Building
- theTrack.objects[48] = #Building
- theTrack.objects[62] = #Building
- theTrack.objects[74] = #Building
- theTrack.objects[89] = #Building
- theTrack.objects[102] = #Building
- theTrack.objects[115] = #Building
- theTrack.objects[147] = #Building
- theTrack.objects[161] = #Building
- theTrack.objects[172] = #Building
- theTrack.objects[185] = #Building
- theTrack.objects[199] = #Building
- theTrack.objects[208] = #Building
- theTrack.objects[213] = #Building
- theTrack.objects[222] = #Building
- theTrack.objects[231] = #Building
- theTrack.objects[245] = #Building
- theTrack.objects[254] = #Building
- theTrack.objects[263] = #Building
- theTrack.objects[267] = #Building
- theTrack.objects[274] = #Building
- end if
- end if
- end if
- end if
- return theTrack
- end
-